//
//  HSGuigeModel.m
//  hsdyOrderSystem
//
//  Created by 赖国锋 on 2017/11/30.
//  Copyright © 2017年 赖国锋. All rights reserved.
//

#import "HSGuigeModel.h"

@implementation HSGuigeModel

- (instancetype)initWithDictionary:(NSDictionary *)dict{
    
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (instancetype)foodGuigeModelWithDictionary:(NSDictionary *)dict;{
    
    return [[self alloc] initWithDictionary:dict];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

+ (NSMutableArray *)footGuigeWithArray:(NSArray *)array
{
    NSMutableArray *arrayM = [NSMutableArray array];
    for (int i = 0; i < array.count; i ++)
    {
        NSDictionary *dict = array[i];
        HSGuigeModel *Model = [self foodGuigeModelWithDictionary:dict];
        [arrayM addObject:Model];
    }
    return arrayM;
}
@end
